#ifndef SIRESURRECTION_H
#define SIRESURRECTION_H

#include "ShopItem.h"

class ShopWidget;

class SIResurrection : public ShopItem
{
    public:
        SIResurrection( Shop* shop, int _x = 50, int _y = 50  )
        :ShopItem( shop ),
         x(_x), y(_y)
        {}

        ~SIResurrection() {}

        int getX() const { return x; }
        int getY() const { return y; }

        void setX( int i ) { x = i; }
        void setY( int i ) { y = i; }

        QString getToolTip()
        { return QString( "200$ Resurrects player in ( 50, 50 ) and kills anything that is there already" ); }
        int price() const { return PRICE; }
    protected:
    private:
        static const int PRICE = 200;
          // coordinates of ressurection
          // if out of borders nothing happens
        int x, y;
          // ressurects player
        void effect();
};

#endif // SIRESSURRECTION_H
